<script>
    	import metatags from '@/lib/stores';
        metatags.title('Svelte Society - a community for Svelte users around the world.');
        metatags.subscribes();
        let getvalue = 'aa';
        metatags.getObj.subscribe((value)=>{
            // 通过更改触发次函数进行重新复制并更新视图
            // 获取状态内容
            getvalue = metatags.get(metatags.getObj).get;
        })
        const onChangehandle = ()=>{
            // 更改get值
             metatags.reloadget('titles');
        }
</script>
{getvalue}
<button on:click={onChangehandle}>change</button>